public class lianl {
    public static void main(String[] args) {
        int [] array = {1,2,3,4,5,6,7,8,9,10};

    }
    public static int [] reverse(int [] array) {
        for (int i = 0; i < array.length; i++) {
            System.out.print("{"+array[i]+" , "+"}");
        }

    }
}
